package com.xm.settlement.model;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xm.settlement.commons.utils.JsonUtils;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2017/3/7.
 */
@TableName(value="app_ship_manage")
public class AppShipManage implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 订单编码*/
    @TableField(value = "order_code" )
    private String orderCode;

    /** 发货编码*/
    @TableField(value = "ship_code" )
    private String shipCode;

    /** 商品名称*/
    @TableField(value = "goods_name" )
    private String goodsName;

    /** 商品总价*/
    @TableField(value = "goods_tprice")
    private Double goodsTprice;

    /** 快递名称*/
    @TableField(value = "express_name" )
    private String expressName;

    /** 快递单号*/
    @TableField(value = "express_num" )
    private String expressNum;

    @TableField(value = "create_time")
    private Date createTime;

    /** 创建人 */
    @TableField(value = "create_id")
    private Long createId;

    @TableField(value = "update_time")
    private Date updateTime;

    /** 修改人 */
    @TableField(value = "update_id")
    private Long updateId;

    /** 备用 */
    @TableField(value = "by1")
    private Integer by1;

    @TableField(value = "by2")
    private String by2;

    @TableField(value = "by3")
    private Date by3;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getShipCode() {
        return shipCode;
    }

    public void setShipCode(String shipCode) {
        this.shipCode = shipCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getGoodsTprice() {
        return goodsTprice;
    }

    public void setGoodsTprice(Double goodsTprice) {
        this.goodsTprice = goodsTprice;
    }

    public String getExpressName() {
        return expressName;
    }

    public void setExpressName(String expressName) {
        this.expressName = expressName;
    }

    public String getExpressNum() {
        return expressNum;
    }

    public void setExpressNum(String expressNum) {
        this.expressNum = expressNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateId() {
        return createId;
    }

    public void setCreateId(Long createId) {
        this.createId = createId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Long updateId) {
        this.updateId = updateId;
    }

    public Integer getBy1() {
        return by1;
    }

    public void setBy1(Integer by1) {
        this.by1 = by1;
    }

    public String getBy2() {
        return by2;
    }

    public void setBy2(String by2) {
        this.by2 = by2;
    }

    public Date getBy3() {
        return by3;
    }

    public void setBy3(Date by3) {
        this.by3 = by3;
    }

    @Override
    public String toString() {
        return JsonUtils.toJson(this);
    }
}
